package edu.pku.sei.transformation.qvt.action;

import edu.pku.sei.transformation.codegen.AtomicTransformationCodegenAdapter;
import edu.pku.sei.transformation.editor.model.implement.ICodegenElement;

public abstract class QVTCodegenAdapter extends AtomicTransformationCodegenAdapter {
	@Override
	public String getFileName(ICodegenElement element) {
		if (canGenerate(element)) {
			return getAtomicTransformation(element).getName()+".qvt";
		} else {
			return "null";
		}
	}
}
